feat(chip): add outlined version - #17485
Open
adrianptrv wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an outlined styling option for the Chip component, updates chip theme styles (including dark variants), and adds a migration + changelog entry for a breaking theming property rename.
Changes:
- Added
outlinedinput/class support toIgxChipComponentand a unit test validating the applied host class. - Updated Chip theme SCSS across design systems (light + new dark overrides) to support outlined styling and renamed focus shadow theme properties.
- Added a
22.2.0migration (and registration) to renamechip-themeproperties for the focus outline → shadow change, plus updated samples.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/app/chips/chips.sample.scss | Positions outlined vs non-outlined chip samples in the demo layout. |
| src/app/chips/chips.sample.html | Adds outlined examples for both Angular (igx-chip) and WC (igc-chip) samples. |
| projects/igniteui-angular/migrations/update-22_2_0/index.ts | Registers the 22.2.0 migration rule execution. |
| projects/igniteui-angular/migrations/update-22_2_0/index.spec.ts | Tests the 22.2.0 migration for chip-theme property renames. |
| projects/igniteui-angular/migrations/update-22_2_0/changes/theme-changes.json | Declares the theme property rename mapping for the migration engine. |
| projects/igniteui-angular/migrations/migration-collection.json | Adds migration-59 entry for the 22.2.0 update. |
| projects/igniteui-angular/chips/src/chips/themes/shared/_indigo.scss | Updates focus shadow tokens and adds outlined styling variants for Indigo. |
| projects/igniteui-angular/chips/src/chips/themes/shared/_fluent.scss | Adds outlined styling variants for Fluent (light). |
| projects/igniteui-angular/chips/src/chips/themes/shared/_bootstrap.scss | Updates focus shadow tokens and adds outlined styling variants for Bootstrap (light). |
| projects/igniteui-angular/chips/src/chips/themes/dark/_material.scss | Adds Material dark outlined variant overrides. |
| projects/igniteui-angular/chips/src/chips/themes/dark/_indigo.scss | Adds Indigo dark outlined variants and adjusts disabled handling. |
| projects/igniteui-angular/chips/src/chips/themes/dark/_index.scss | Includes the new dark theme partials for chip (material/bootstrap/fluent). |
| projects/igniteui-angular/chips/src/chips/themes/dark/_fluent.scss | Adds Fluent dark outlined variant overrides. |
| projects/igniteui-angular/chips/src/chips/themes/dark/_bootstrap.scss | Adds Bootstrap dark outlined variant overrides. |
| projects/igniteui-angular/chips/src/chips/themes/_base.scss | Refactors base chip styling to support outlined mode and adjusts borders/disabled states. |
| projects/igniteui-angular/chips/src/chips/chip.spec.ts | Adds a unit test asserting the outlined host class is applied. |
| projects/igniteui-angular/chips/src/chips/chip.component.ts | Adds outlined input with boolean transform and host class binding. |
| CHANGELOG.md | Adds 22.2.0 entries for outlined chip and theming breaking change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes IgniteUI/igniteui-theming#591
Needs to be tested together with this theming PR: #592
The WC implementation: #2307
Description
Type of Change (check all that apply):
Component(s) / Area(s) Affected:
Chip
How Has This Been Tested?
Checklist: